/**
 * 编辑器中间的画布
 */

$cellSize: 35.6px;
$designerWidth: 320px;
$designerHeight: 568px;
$designerWidthHalf: $designerWidth / 2;

.canvas-wrapper {
  position: relative;
  top: 60px;
  width: $designerWidth;
  // height: $designerHeight;
  min-height: $designerHeight;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e7e7e7;

  .edit-mode {
    // box-shadow: 0 0 0 1px #d9d9d9;
    // inspired by https://github.com/Heboy/h5-maker/blob/38136192bab1427b9d5741a5dae0b5186d4b2ea0/src/scss/Page.scss#L8
    // background-image: url();
    // background-image: url(https://i.imgur.com/SuyR7Vq.png);
    background-image: url('');
  }
}

// 切换编辑、预览模式 的按钮组
.mode-toggle-wrapper {
  position: fixed;
  z-index: 999;
  top: 80px;
  left: calc(50% - 120px);
  text-align: center;
}

